[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
S_DN
Function
Set the share deny none flag in a FCREATE/FOPEN/FAPPEND statement.
Value
0 = 0b = 0o = 0h
Remarks
DOS 3.1 or later (which is what is required by PCBoard) allows processes
to decide what mode of file sharing should be allowed. This constant
allows you to specify that other processes may open the same file for
read or write access from the time you open the file to the time you
close the file. This is useful when you don't need exclusive access to
a file for any reason and need not restrict other processes.
Example
FOPEN 1,"FILE.DAT",O_RD,S_DN ' Do not deny other processes any access
FOR i = 1 TO 10
FGET 1,s
PRINTLN s
NEXT
FCLOSE 1 ' Close the file and allow others to open it in any mode
See Also:
S_DB
S_DR
S_DW
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson